import React from 'react'
import { Button, Space } from 'antd-mobile'
import {useNavigate} from 'react-router-dom'

function Index() {
  let navigate=useNavigate()
  return (
    <div>
      <Button  fill='solid' onClick={()=>navigate('/login')}>
        登录
      </Button>
    </div>
  )
}

export default Index
